package com.rla.mapper;

import com.rla.domain.EhsEverydayBloodPressure;
import com.rla.domain.vo.EhsEverydayBloodPressureVo;
import com.rla.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 日常记录-血压记录Mapper接口
 *
 * @author rla
 * @date 2025-09-11
 */
public interface EhsEverydayBloodPressureMapper extends BaseMapperPlus<EhsEverydayBloodPressureMapper, EhsEverydayBloodPressure, EhsEverydayBloodPressureVo> {


    public Map<String, Object> queryDateCompare(@Param("measuredTime") String measuredTime);

    public List<Map<String, Object>> statisticsExce(@Param("userId") String userId, @Param("startDate") String startDate, @Param("endDate") String endDate);

    public List<Map<String, Object>> getTrendList(@Param("userId") String userId,@Param("startDate") String startDate,@Param("endDate") String endDate);


    public Map<String, Object> healthReport(@Param("userId") String userId,@Param("startDate") String startDate,@Param("endDate") String endDate);

    List<Map<String, Object>> getTagCountStatistics(@Param("userId") String userId,@Param("startDate") String startDate,@Param("endDate") String endDate);
}
